<?php

namespace Home\Model\Ajax;

class Logout extends AbstractAjax
{
    public function handle()
    {
        $user = D('User');
        $user->clear_session();
        $ajax['status'] = 1;
        $ajax['content'] = "退出成功！";
        return $ajax;
    }
}